Hip_GL3_FrameBuffer

Undocumented in source.

Constructors

this
this(int width, int height)
Undocumented in source.

Members

Functions

bind
void bind()
Undocumented in source. Be warned that the author may not have intended to support it.
clear
void clear()
Undocumented in source. Be warned that the author may not have intended to support it.
create
void create(uint width, uint height)
Undocumented in source. Be warned that the author may not have intended to support it.
dispose
void dispose()
Undocumented in source. Be warned that the author may not have intended to support it.
draw
void draw()
Undocumented in source. Be warned that the author may not have intended to support it.
getTexture
IHipTexture getTexture()
Undocumented in source. Be warned that the author may not have intended to support it.
resize
void resize(uint width, uint height)
Undocumented in source. Be warned that the author may not have intended to support it.
unbind
void unbind()
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

fbo
uint fbo;
Undocumented in source.
rbo
uint rbo;
Undocumented in source.
retTexture
Hip_GL3_Texture retTexture;

Texture to be returned. It is filled with the opengl framebuffer contents

texture
uint texture;
Undocumented in source.

Inherited Members

From IHipFrameBuffer

create
void create(uint width, uint height)

Creates the framebuffer using the target width and height

resize
void resize(uint width, uint height)

Resizes the framebuffer, probably this will not be implemented in the backend level

bind
void bind()

Binds the framebuffer, setting it as a target for every draw call

unbind
void unbind()

Unbinds the framebuffer, resetting the renderer state and setting the output as the screen

draw
void draw()

Must draw the framebuffer content

clear
void clear()

Clears the current framebuffer content

getTexture
IHipTexture getTexture()

Gets the texture containing the framebuffer data

dispose
void dispose()
Undocumented in source.

Meta